package org.dtrd.modules.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.food.entity.bean.CookbookCategoryDetail;
import org.dtrd.modules.food.entity.bean.CookbookCategoryListInfo;
import org.dtrd.modules.food.entity.po.DtrdExtEmsYwCookbookCategory;
import org.dtrd.modules.food.entity.request.CookbookCategoryListRequest;

import java.util.List;

/**
 * <p>
 * 菜谱分类服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-09
 */
public interface IDtrdExtEmsYwCookbookCategoryService extends IService<DtrdExtEmsYwCookbookCategory> {

    List<CookbookCategoryListInfo> getCookbookCategoryList(CookbookCategoryListRequest request);

    CookbookCategoryDetail getCookbookCategory(Integer dataId);

    boolean saveOrUpdateCookbookCategory(CookbookCategoryDetail dto);

    boolean removeCookbookCategory(Integer dataId);
}
